package run.halo.app.model.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import run.halo.app.model.dto.base.OutputConverter;
import run.halo.app.model.entity.Site;
import run.halo.app.model.enums.SiteStatus;

import java.util.Date;

/**
 * @author Meazty
 */
@Data
@ToString
@EqualsAndHashCode
public class SiteDTO implements OutputConverter<SiteDTO, Site> {

    private Integer id;

    private String name;

    private String slug;

    private String icon;

    private String cover;

    private String summary;

    private String url;

    private String target;

    private Long visits;

    private Long likes;

    private Integer priority;

    private SiteStatus status;

    private Date updateTime;

    private Date createTime;

}
